You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Math387.StrToVal Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.StrToVal Method

Converts string to a value.

Syntax
C#
Visual Basic
public static double StrToVal([In] string Source);

original string, transformed to double value.

This routine is the same as StrToFloat except that it can also handle NAN and INF values. It will work with both ',' and '.' as decimal separator, but the code will run 2x faster for the currently default decimal separator. StrToVal is used also by StrToCplx function.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!